home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmeDrawIndicator.z
/
XmeDrawIndicator
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr - Draws a Motif-style indicator (either a
check mark or a cross) at the specified location in the
drawable
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/DrawP.h>
vvvvooooiiiidddd XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr(
DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,
DDDDrrrraaaawwwwaaaabbbblllleeee ddddrrrraaaawwwwaaaabbbblllleeee,
GGGGCCCC ggggcccc,
PPPPoooossssiiiittttiiiioooonnnn xxxx,
PPPPoooossssiiiittttiiiioooonnnn yyyy,
DDDDiiiimmmmeeeennnnssssiiiioooonnnn wwwwiiiiddddtttthhhh,
DDDDiiiimmmmeeeennnnssssiiiioooonnnn hhhheeeeiiiigggghhhhtttt,
DDDDiiiimmmmeeeennnnssssiiiioooonnnn mmmmaaaarrrrggggiiiinnnn,
XXXXttttEEEEnnnnuuuummmm iiiinnnnddddiiiiccccaaaattttoooorrrr____ttttyyyyppppeeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr draws an indicator inside the specified
drawable. The _i_n_d_i_c_a_t_o_r__t_y_p_e argument determines whether
the indicator will be a check mark or a cross. The
arguments _x, _y, _w_i_d_t_h, and _h_e_i_g_h_tdefine a bounding box; the
indicator is rendered inside this bounding box. The _m_a_r_g_i_n
argument determines the offset of the indicator from the
sides of the bounding box.
_d_i_s_p_l_a_y Specifies the display.
_d_r_a_w_a_b_l_e Specifies the drawable on which the indicator is
to be drawn. Typically, the drawable will be a
widget window.
_g_c Specifies the graphics context used to render the
indicator.
_x Specifies the x-coordinate, in pixels, of the
leftmost point of the bounding box.
_y Specifies the y-coordinate, in pixels, of the top
point of the bounding box.
_w_i_d_t_h Specifies the width, in pixels, of the bounding
box.
_h_e_i_g_h_t Specifies the height, in pixels, of the bounding
box.
_m_a_r_g_i_n Specifies the size of the blank space between the
Page 1 (printed 10/24/98)
XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX))))
sides of the bounding box and the indicator. For
example, a _m_a_r_g_i_n of 0 would tell
XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrrto draw the indicator so that its
sides touched the sides of the bounding box.
_i_n_d_i_c_a_t_o_r__t_y_p_e
Specifies the kind of indicator to render. You
must specify one of the following:
XXXXmmmmIIIINNNNDDDDIIIICCCCAAAATTTTOOOORRRR____CCCCHHHHEEEECCCCKKKK
Draws a check mark.
XXXXmmmmIIIINNNNDDDDIIIICCCCAAAATTTTOOOORRRR____CCCCRRRROOOOSSSSSSSS
Draws a cross.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmeeeeDDDDrrrraaaawwwwSSSSeeeeppppaaaarrrraaaattttoooorrrr(3).
Page 2 (printed 10/24/98)